package artid.com.arttogoa.util;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.ListView;

/**
 * 
 *    
 * 类名称：MyListView_Util   
 * 类描述：重写ListView让在其他布局中可以根据数据展示全  
 * 创建人：耿卫斌  
 * 修改备注：    
 *
 */
public class MyListView_Util extends ListView{

	public MyListView_Util(Context context, AttributeSet attrs) {     
		super(context, attrs);     
	}     

	public MyListView_Util(Context context) {     
		super(context);     
	}     

	public MyListView_Util(Context context, AttributeSet attrs, int defStyle) {     
		super(context, attrs, defStyle);     
	}     

	@Override     
	public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {     

		int expandSpec = MeasureSpec.makeMeasureSpec(     
				Integer.MAX_VALUE >> 2, MeasureSpec.AT_MOST);     
		super.onMeasure(widthMeasureSpec, expandSpec);     
	}     

}
